

Pod::Spec.new do |s|
  s.name             = "HHToolsKit"
  s.version          = "1.0.0"
  s.summary          = "huihui health HHToolsKit"
  s.description      = <<-DESC.gsub(/^\s*\|?/,'')
                       An optional longer description of huihuiKit

                       | * Markdown format.
                       | * Don't worry about the indent, we strip it!
                       DESC
  s.homepage         = "https://gitlab.leke.cn/health-huihui/app/ios/ios-component/BCScrollViewKit.git"
  s.license          = 'BSD'
  s.author           = { "chasel" => "chenchun1@cnstrong.cn" }
  s.source           = { :git => "git@gitlab.leke.cn:health-huihui/app/ios/ios-component/BCScrollViewKit.git", :branch => "develop" }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.platform     = :ios, '9.0'
  s.requires_arc = true
  
  s.default_subspec = 'Core'

  s.dependency 'BCComConfigKit'
  
  #核心库
  s.subspec 'Core' do |core|
      core.public_header_files = 'Core/**/HHAppUtils.h'
      core.source_files = 'Core/**/*.{h,m}'
  end
  
  #键盘适配 模块
  s.subspec 'Keyboard' do |keyboard|
      keyboard.public_header_files = 'Keyboard/**/HHKeyboardUtil.h'
      keyboard.source_files = 'Keyboard/**/*.{h,m}'
      keyboard.dependency 'BCFoundation'
  end
  
  
  #权限 模块
  s.subspec 'Auth' do |auth|
      auth.public_header_files = 'Auth/**/UIDevice+HHAuthHelper.h'
      auth.source_files = 'Auth/**/UIDevice+HHAuthHelper.*'
      auth.dependency 'BCFoundation'
      auth.dependency 'BCUIKit'
  end


    #版本检测 模块
  s.subspec 'Version' do |version|
      version.public_header_files = 'Version/**/HHAppUpdateVerson.h'
      version.source_files = 'Version/**/*.{h,m}'
      version.dependency 'HHToolsKit/Core'
      version.dependency 'HHNetworkKit'
      version.dependency 'BCComConfigKit'
  end


   #语言管理 模块
  s.subspec 'Language' do |language|
      language.public_header_files = 'Language/*.h'
      language.source_files = 'Language/**/*.{h,m}'

      language.dependency 'BCEventBus'
  end



  

end
